﻿<?xml version="1.0" encoding="utf-8" ?>
<Template>
  <Query Url="http://wap.weather.com.cn/wap/#city#/h24/">
    <Update Target="Day1">
      <Match>
        <Pattern>
          <![CDATA[(?<Feel>穿衣指数：.+)]]>
        </Pattern>
        <Replacement From="指数：" To=": " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[天气：(?<Weather>.+)]]>
        </Pattern>
      </Match>
      <Match>
        <Pattern>
          <![CDATA[<img src="http://media.weather.com.cn/img/w/(?<IconN>c\d+).gif" /> <img src="http://media.weather.com.cn/img/w/(?<IconP>c\d+).gif" />]]>
        </Pattern>
        <Replacement From="c(\d+)" To="#iconfolder#\d0$1.png" />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[\d+年(?<Lunar>\d+月\d+日) 星期.]]>
        </Pattern>
      </Match>
      <Match>
        <Pattern>
          <![CDATA[气温：(?<Temps>\d+度到\d+度)]]>
        </Pattern>
        <Replacement From="度" To="℃" />
        <Replacement From="到" To=" / " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[(?<UV>紫外线指数：.+)]]>
        </Pattern>
        <Replacement From="指数：" To=": " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[风向风力：(?<Winds>.+)]]>
        </Pattern>
      </Match>
    </Update>
    <Update Target="CondensedPage">
      <Match>
        <Pattern>
          <![CDATA[气温：(?<PluginLabel>\d+度到\d+度)]]>
        </Pattern>
        <Replacement From="度" To="℃" />
        <Replacement From="到" To=" / " />
      </Match>
    </Update>
  </Query>
  <Query Url="http://wap.weather.com.cn/wap/#city#/h48/">
    <Update Target="Day2">
      <Match>
        <Pattern>
          <![CDATA[(?<Feel>穿衣指数：.+)]]>
        </Pattern>
        <Replacement From="指数：" To=": " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[天气：(?<Weather>.+)]]>
        </Pattern>
      </Match>
      <Match>
        <Pattern>
          <![CDATA[<img src="http://media.weather.com.cn/img/w/(?<IconN>c\d+).gif" /> <img src="http://media.weather.com.cn/img/w/(?<IconP>c\d+).gif" />]]>
        </Pattern>
        <Replacement From="c(\d+)" To="#iconfolder#\d0$1.png" />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[\d+年(?<Lunar>\d+月\d+日) 星期.]]>
        </Pattern>
      </Match>
      <Match>
        <Pattern>
          <![CDATA[气温：(?<Temps>\d+度到\d+度)]]>
        </Pattern>
        <Replacement From="度" To="℃" />
        <Replacement From="到" To=" / " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[(?<UV>紫外线指数：.+)]]>
        </Pattern>
        <Replacement From="指数：" To=": " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[风向风力：(?<Winds>.+)]]>
        </Pattern>
      </Match>
    </Update>
  </Query>
  <Query Url="http://wap.weather.com.cn/wap/#city#/h72/">
    <Update Target="Day3">
      <Match>
        <Pattern>
          <![CDATA[(?<Feel>穿衣指数：.+)]]>
        </Pattern>
        <Replacement From="指数：" To=": " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[天气：(?<Weather>.+)]]>
        </Pattern>
      </Match>
      <Match>
        <Pattern>
          <![CDATA[<img src="http://media.weather.com.cn/img/w/(?<IconN>c\d+).gif" /> <img src="http://media.weather.com.cn/img/w/(?<IconP>c\d+).gif" />]]>
        </Pattern>
        <Replacement From="c(\d+)" To="#iconfolder#\d0$1.png" />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[\d+年(?<Lunar>\d+月\d+日) 星期.]]>
        </Pattern>
      </Match>
      <Match>
        <Pattern>
          <![CDATA[气温：(?<Temps>\d+度到\d+度)]]>
        </Pattern>
        <Replacement From="度" To="℃" />
        <Replacement From="到" To=" / " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[(?<UV>紫外线指数：.+)]]>
        </Pattern>
        <Replacement From="指数：" To=": " />
      </Match>
      <Match>
        <Pattern>
          <![CDATA[风向风力：(?<Winds>.+)]]>
        </Pattern>
      </Match>
    </Update>
  </Query>
</Template>